<template>
  <TopSafeArea />

  <view>
    <h1>初始化页面</h1>
    <button @click="clickToHome">点击跳转到首页</button>
  </view>
</template>

<script setup lang="ts">
function clickToHome() {
  uni.switchTab({
    url: '/pages/index/index'
  });
}
</script>


<style scoped lang="scss">

</style>
